package com.class05.config;


import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

@Configuration   //相当于spring-01.xml配置文件
@ComponentScan("com.class05") //相当于<context:component-scan base-package="com.class05"/>
// 想要扫描多个包，可以使用逗号隔开，例如：@ComponentScan({"com.class05", "com.class06"})

@PropertySource("classpath:classtest.properties")
//相当于<context:property-placeholder location="classtest.properties"/>
public class JavaConfiguration {
}
